package org.hhttp.core;

import java.io.InputStream;
import java.io.Serializable;

import org.apache.log4j.Logger;

public interface Request extends Serializable ,PoolObject{

	static Logger logger = Logger.getLogger(Request.class);
	
	void init();
	
	InputStream getInputStream();
	
	Object getParam(String key);
	
	Session getSession();
	
	void setSession(Session session);
	
	Cookie getCookie();
	
	void setCookie(Cookie cookie);
	
	void setSetCookie(Cookie setCookie);
	
	Cookie getSetCookie();
	
	void setInputStream(InputStream inputStream);
	
	String getSessionId();
	
}
